export interface IState {
    graph: any,
    sourceAnchorIdx: null | number
    targetAnchorIdx: null | number
    graphNode: any
    graphNodeModel: any
    type: string
}
export type NodeItem = {
    label: string,
    icon?: string,
    type: "circle-node" | "star-node" | "rect-node" | "triangle-node" | "donut-node" | 'circle' | 'rect' | 'custom',
    style?: Object,
    size?: number | number[]
}

export interface IconNode {
    id: string | number
    label: string,
    icon?: string,
    type: "circle-node" | "star-node" | "rect-node" | "triangle-node" | "donut-node" | 'circle' | 'rect' | 'custom',
    style?: Object,
    size?: number | number[],
    data?: any
}
